Skip to content

Remove class baseType interfaces from proxified methods #1630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 2, 2018

Conversation

fredericDelaporte
Copy link
Member

Revert the lazy property proxy to its 5.0.x behavior.
This allows to avoid proxifying explicitly implemented interface methods, which are currently not supported by the dynamix proxy (lazy properties proxy).

Add test case adapted from gcesena test case.

Fixes #1628

Revert the lazy property proxy to its 5.0.x behavior.
This allows to avoid proxifying explicitly implemented interface methods,
which are currently not supported by the dynamix proxy (lazy properties
proxy).

Add test case adapted from gcesena test case.

Fixes nhibernate#1628

Co-authored-by: gcesena <[email protected]>
@fredericDelaporte fredericDelaporte added this to the 5.1.1 milestone Mar 29, 2018
@hazzik
Copy link
Member

hazzik commented Mar 30, 2018

I disagree with this change. Please make the DefaultProxyFactory the default proxy factory and run tests. Some will fail. There are specific cases when explicit interfaces are required.

@hazzik
Copy link
Member

hazzik commented Mar 30, 2018

Ok, please ignore previous comment. The implementation is OK actually.

To be squashed
@hazzik
Copy link
Member

hazzik commented Mar 30, 2018

Still. Can you run whole test suite with old proxy factory for proxies?

@fredericDelaporte
Copy link
Member Author

Still. Can you run whole test suite with old proxy factory for proxies?

I have done it locally with SQL-Server. Only the test checking the default factory was still the static one has failed, since I had changed the default rather than configuring the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants